wayland: Ensure we get the master pointer on GdkDeviceManager::get_client_pointer
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 19 Nov 2015 19:04:46 +0000 (20:04 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 19 Nov 2015 22:26:48 +0000 (23:26 +0100)
commita72974252f32e69d7cd5d14df40568c9457f7abd
tree831d42de5a6ffa6704ef9b36048f7fea04d5fa12
parent04ecffa238fd5fbcb98eb40e7976f357ddb68305
wayland: Ensure we get the master pointer on GdkDeviceManager::get_client_pointer

Now that we have multiple master pointers, this call may pick the wrong one.
Instead, pick the GdkWaylandDeviceData from the first device, and pick the
master pointer from there.
gdk/wayland/gdkdevice-wayland.c